﻿using System.Runtime.Serialization;

namespace TripLOA.WebService.Serializable
{
    /// <summary>
    /// Class that represents a WebService boolean response
    /// </summary>
    [DataContract]
    public class WSBool : WSObject
    {
        #region Constructors
        
        /// <summary>
        /// Parameterless Costructor. Set status to "ok"
        /// </summary>
        public WSBool()
        {
            this.Status = "ok";
        }
        
        #endregion

        #region Properties

        /// <summary>
        /// Contains a boolean value sent to the client.
        /// </summary>
        [DataMember]
        public bool Payload { get; set; }

        #endregion
    }
}
